package entity;

import java.util.Date;

public class ClassB {
    /**
     * 名称
     */
    private String name;
    /**
     * 地址
     */
    private String address;
    /**
     * 数量
     */
    private Integer number;

    /**
     * 描述
     */
    private String description;


    /**
     * 创建时间
     */
    private Date createDate;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public ClassB(){

    }

    public ClassB(String name, String address, Integer number, String description, Date createDate) {
        this.name = name;
        this.address = address;
        this.number = number;
        this.description = description;
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "ClassB{" +
                "name='" + name + '\'' +
                ", address='" + address + '\'' +
                ", number=" + number +
                ", description='" + description + '\'' +
                ", createDate=" + createDate +
                '}';
    }
}
